#pragma once
#include <QDialog>
#include <memory>
#include <thread>
#include <qmutex.h>
#include <qqueue.h>
#include <qevent.h>


namespace Ui {
    class SettingsDialog;
}

class SettingsWidget : public QDialog
{
    Q_OBJECT

public:
    enum ENUM_DECODE_TYPE {
        UNKNOWN,
        SW_FFMPEG,
        HW_D3D11,
        HW_DXVA
    };

    explicit SettingsWidget(QWidget* parent = nullptr);
    ~SettingsWidget();

    ENUM_DECODE_TYPE get_decode_type() const;

    bool get_bt709() const;

private:
    Ui::SettingsDialog* ui;
};